import React, { useContext } from "react";
import { TestContext } from "../index";

const Messages: React.FC = () => {
  const { username } = useContext(TestContext);
  return (
    <div>
      这是message111
      {username}
    </div>
  );
};

export default Messages;
